package com.zzty.zzlp.entity;

import java.util.List;

public class ChatUser {
    private Integer userId;
    private String name;
    private String lastMessage;
    private String lastMessageType;
    private String photo;
    private Integer red;
    private List<ChatBuffer> chatList;
    private String icon;
    private String redState;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }

    public String getLastMessageType() {
        return lastMessageType;
    }

    public void setLastMessageType(String lastMessageType) {
        this.lastMessageType = lastMessageType;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Integer getRed() {
        return red;
    }

    public void setRed(Integer red) {
        this.red = red;
    }

    public List<ChatBuffer> getChatList() {
        return chatList;
    }

    public void setChatList(List<ChatBuffer> chatList) {
        this.chatList = chatList;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRedState() {
        return redState;
    }

    public void setRedState(String redState) {
        this.redState = redState;
    }

    @Override
    public String toString() {
        return "ChatUser{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                ", lastMessage='" + lastMessage + '\'' +
                ", lastMessageType='" + lastMessageType + '\'' +
                ", photo='" + photo + '\'' +
                ", red=" + red +
                ", chatList=" + chatList +
                ", icon='" + icon + '\'' +
                ", redState='" + redState + '\'' +
                '}';
    }
}
